import request from '@/utils/request'

export function consume(testTime) {
  return request({
    url: '/device/dataTest?testTime=' + testTime,
    method: 'GET',
    headers: {
      isToken: false
    },
  })
}

export function list() {
  return request({
    url: '/device/tableTest',
    method: 'GET',
    headers: {
      isToken: false
    },
  })
}